ComponentOne Bitmap for WPF
C1.WPF.DX.4.6.2 Assembly / C1.Util.DX.WIC Namespace / BitmapFrameEncode Class / WritePixels Method / WritePixels<T>(Int32,Int32,T[]) Method

The number of lines to encode.

The stride of the image pixels.

A reference to the pixel buffer.


In This Topic
    WritePixels<T>(Int32,Int32,T[]) Method
    In This Topic

    Encodes the frame scanlines.

    Syntax
    'Declaration
     
    Public Overloads Sub WritePixels(Of T As {New, Struct})( _
       ByVal lineCount As Integer, _
       ByVal stride As Integer, _
       ByVal pixelBuffer() As T _
    ) 
    public void WritePixels<T>( 
       int lineCount,
       int stride,
       T[] pixelBuffer
    )
    where T: new(), struct

    Parameters

    lineCount

    The number of lines to encode.

    stride

    The stride of the image pixels.

    pixelBuffer

    A reference to the pixel buffer.

    Type Parameters

    T
    Remarks

    Successive WritePixels calls are assumed to be sequential scanline access in the output image.

    See Also